package com.wang.pojo4;


public class People4 {
    private Dog4 dog4;
    private Cat4 cat4;
    private String name;

    public Dog4 getDog4() {
        return dog4;
    }

    public void setDog4(Dog4 dog4) {
        this.dog4 = dog4;
    }

    public Cat4 getCat4() {
        return cat4;
    }

    public void setCat4(Cat4 cat4) {
        this.cat4 = cat4;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "People4{" +
                "dog4=" + dog4 +
                ", cat4=" + cat4 +
                ", name='" + name + '\'' +
                '}';
    }
}
